.footer.bg-footer
  span(class="badge-version", title="Current npm version", ng-mouseover="shell.updateNpmBadgeVersion()")
    b
      | npm
    = " "
    small(ng-if="shell.npmCurrentVersionBadge")
      | v{{shell.npmCurrentVersionBadge}}
    button.button-global(type="button", title="Enable ndm in global folder",  ng-show="shell.globalDisabled", ng-click="shell.enableGlobal()")
      i.fa.fa-globe.color-primary
      | Enable globals
    button.button-update(type="button", ng-show="!shell.globalDisabled && shell.npmCurrentVersionBadge", title="Update npm", ng-click="shell.updateNpm()")
      i.fa.fa-history
      | Update npm
  span(class="npm-status pull-right", ng-mouseenter="shell.checkRegistryStatus()")
    i.fa.fa-disk(title="npm registry is available", ng-show="!shell.loadingRegistryStatus && shell.registryStatus")
    i.fa.fa-disk(title="npm registry checking ...", ng-show="shell.loadingRegistryStatus")
    i.fa.fa-disk(title="npm registry is unavailable", ng-show="!shell.loadingRegistryStatus && !shell.registryStatus")
    div.loader(ng-class="{'loading': shell.loadingRegistryStatus}")
      i.fa.fa-circle(ng-class="{'available': !shell.loadingRegistryStatus && shell.registryStatus}")
      i.fa.fa-circle(ng-class="{'unavailable': !shell.loadingRegistryStatus && !shell.registryStatus}")
  span(class="pull-right")
    button.button-doctor(type="button", title="Run doctor", ng-click="shell.activeClickedLink('doctor'); shell.runDoctor()")
      i.fa.fa-doctor
      | Doctor
